Skip to content

[iOS] Investigate autoscroll not lifting focused thought above keyboard — blocked on reproduction environment#4527

Draft
BayuAri with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-autoscroll-issue
Draft

[iOS] Investigate autoscroll not lifting focused thought above keyboard — blocked on reproduction environment#4527
BayuAri with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-autoscroll-issue

Conversation

Copilot AI commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

On iOS, tapping a thought at the bottom of the screen to place the caret leaves it hidden behind the on-screen keyboard; autoscroll should lift the focused thought above the keyboard.

No code changes are included in this PR yet. The issue-repro workflow requires reproducing this WebKit-specific keyboard-overlap on a real iOS device (BrowserStack App Automate via the wdio MCP) before touching any code, and reproduction could not be started in the current sandbox.

Blocker

  • wdio start_session for BrowserStack iOS (iPhone 15 / iOS 26 / em-server-mode) timed out on every attempt; no session was ever established.
  • BrowserStack hosts are unresolvable from the sandbox (api.browserstack.com, hub-cloud.browserstack.comCould not resolve host); no browserstack.com / bs-local.com entries exist in the network allow-list, and no Local tunnel can be brought up.
  • Credentials (BROWSERSTACK_USERNAME / BROWSERSTACK_ACCESS_KEY) are present but unusable without hub reachability.

To unblock

  • Allow-list BrowserStack (*.browserstack.com, bs-local.com) so the device session and Local tunnel can connect, then I can reproduce, capture a failing regression test, fix, and validate on-device.
  • Alternatively, confirm the pre-warmed em-server-mode IPA is still warm and HTTPS-aware, or explicitly authorize a code-analysis-only fix without live iOS reproduction.

Likely surface area (for reviewer context, not yet modified)

  • src/device/scrollCursorIntoView.ts — bottom-obstruction handling
  • src/hooks/useScrollCursorIntoView.ts — cursor-follow autoscroll triggers
  • src/device/preventAutoscroll.ts and iOS keyboard-open handling (Editable.tsx onBlur, handleKeyboardVisibility)

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Vercel preview: https://em-eef3gmm40-cybersemics.vercel.app

Copilot AI changed the title [WIP] Fix autoscroll for thought selection on iOS [iOS] Investigate autoscroll not lifting focused thought above keyboard — blocked on reproduction environment Jul 6, 2026
Copilot AI requested a review from BayuAri July 6, 2026 15:55

@BayuAri BayuAri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot
You can resume the work now

Co-authored-by: BayuAri <8419585+BayuAri@users.noreply.github.com>
Copilot AI requested a review from BayuAri July 15, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[iOS] Focus is not autoscrolled into view when user taps a thought at the bottom of the screen

2 participants